package cn.tedu.charging.perm.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = lombok.AccessLevel.PRIVATE)
public class PermVO {
    @ApiModelProperty(value = "权限id")
    Long id;
    @ApiModelProperty(value = "权限名称")
    String permName;
    @ApiModelProperty(value = "父级权限")
    Long parentId;
    @ApiModelProperty(value = "父级权限名称")
    String parentName;
    @ApiModelProperty(value = "权限路径")
    String path;
    @ApiModelProperty(value = "权限备注")
    String remark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    Date createTime;
}
